<!--  -->
<template>
  <div class="search-header">
    <view class="status_bar"></view>
		<view class="search-box">
			<image src="./img/leftb_03.png" mode="widthFix" class="left" @click="toPage(-1)"></image>
			<view class="search">
				<image src="./img/homeicon_03.png" mode="widthFix"></image>
				<input type="text" v-model="keyword" placeholder="搜索关键词" placeholder-class="s" />
				<view class="button">搜索</view>
			</view>
		</view>
  </div>
</template>

<script>
import mixin from '@/mixin'
export default {
  mixins:[mixin],
  data () {
    return {
      keyword:""
    };
  },

  components: {},

  computed: {},

  methods: {}
}

</script>
<style lang='scss' scoped>
.search-header{
	.search-box {
		overflow: hidden;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 20rpx;
		height: 110rpx;
		background: #fff;
		.left {
			width: 18rpx;
			display: block;
		}

		.search {
			overflow: hidden;
			width: 653rpx;
			height: 68rpx;
			background: #eef1f6;
			border-radius: 40rpx;
			display: flex;
			align-items: center;
			position: relative;

			image {
				width: 29rpx;
				display: block;
				margin-left: 32rpx;
			}

			input {
				width: 80%;
				height: 100%;
				border: none;
				background: none;
				font-size: 30rpx;
				color: #999999;
				padding-left: 23rpx;
				outline: none;
			}

			.s {
				font-size: 30rpx;
				color: #999999;
			}

			.button {
				overflow: hidden;
				width: 94rpx;
				height: 51rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 26rpx;
				color: #fff;
				border-radius: 40rpx;
				position: absolute;
				right: 10rpx;
				background-color: $theme-color;
				top: 50%;
				transform: translateY(-50%);
			}
		}
	}}
</style>